//
//  SelectMenuViewController.h
//  Spa
//
//  Created by PangPond on 14/1/2556.
//  Copyright (c) พ.ศ. 2556 innova. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DatabaseUtility.h"

@protocol SelectViewDelegate;

@interface SelectMenuViewController : UIViewController

@property (assign, nonatomic)id <SelectViewDelegate> delegate;
@property(nonatomic,strong) DatabaseUtility *databaseUtility;
@property(nonatomic,strong) NSArray *menu;
@property(nonatomic,strong) NSString *keyDelete;
@property(nonatomic,strong) IBOutlet UITableView *tableView;
@property(nonatomic,strong) NSMutableArray *marks;
@property(nonatomic) int check;
@property(nonatomic,assign) int * priceMenu;
@property(nonatomic,assign) int * priceCount;
-(IBAction)Done:(id)sender;
@property (nonatomic, strong) NSString *game;
@property(nonatomic)int *selectMenu;
@property(nonatomic)int *selectMenuCount;
@property(nonatomic,strong)NSString *keySelectMenu;
@property (nonatomic, strong) NSFetchedResultsController *fetchedResultsController;
@property (nonatomic, strong) NSMutableSet *pickedTags;

@end

@protocol SelectViewDelegate <NSObject>

@optional
-(void)changeTextsMenu:(int *)textString;
-(void)priceMenu:(int *)textString;
-(void)selectMenu:(int *)textString;
-(void)keySelectMenu:(NSString *)textString;
-(void)pickedTags:(NSMutableSet *)setString;
@end


